package routers

import (
	"github.com/astaxie/beego"
	"servermg/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/smanager", &controllers.SmanagerController{})
	beego.AutoRouter(&controllers.SmanagerController{})
	beego.Router("/opts", &controllers.OptsController{})
	beego.AutoRouter(&controllers.OptsController{})
	beego.AutoRouter(&controllers.RetireController{})
}
